Item Property

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Get the item by its index in the sorted order. The smallest item has index 0, the next smallest item has index 1, and the largest item has index Count-1.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public T this[
	int index
]{ get;}
Visual Basic (Declaration)
Public ReadOnly Default Property Item ( _
	index As Integer _
) As T
Visual C++
public:
property T default[int index] {
	T get (int index);
}

Parameters

index
Int32
The index to get the item by.

Return Value

The item at the given index.

Remarks

The indexer takes time O(log N), which N is the number of items in the set.

Exceptions

ExceptionCondition
System..::ArgumentOutOfRangeExceptionindex is less than zero or greater than or equal to Count.

See Also